public class Driver {

	public static void main(String[] args) {

		RaceCar rc = new RaceCar("Pablo", 1);
		
		System.out.println("Driver's name: " + rc.getDriverName());
		System.out.println("Car number: " + rc.getCarNumber());
		System.out.println("Laps driven: " + rc.getLaps());
		System.out.println("Gas level: " + rc.getGasLevel());
		System.out.println("Tire wear level: " + rc.getTireWearLevel());
		System.out.println("Is in a pit stop: " + rc.isInPitStop());
		
		rc.decreaseGasLevel();
		rc.decreaseTireWearLevel();
		System.out.println("\nAfter driving around one lap, his gas level and tire wear level has gone down.");
		System.out.println("Gas level: " + rc.getGasLevel());
		System.out.println("Tire wear level: " + rc.getTireWearLevel());
		
		rc.pitStop();
		System.out.println("\n" + rc.getDriverName() + " has gone to the pit stop.  Gas refueled and new tires are put on.");
		System.out.println("Gas level: " + rc.getGasLevel());
		System.out.println("Tire wear level: " + rc.getTireWearLevel());
		
	}

}
